package com.bestow.basic.mapper;

import java.util.List;
import com.bestow.basic.domain.HlsCashflowType;

/**
 * 现金流类型Mapper接口
 * 
 * @author liliu
 * @date 2022-09-07
 */
public interface HlsCashflowTypeMapper 
{
    /**
     * 查询现金流类型
     * 
     * @param cfType 现金流类型主键
     * @return 现金流类型
     */
    public HlsCashflowType selectHlsCashflowTypeByCfType(String cfType);

    /**
     * 查询现金流类型列表
     * 
     * @param hlsCashflowType 现金流类型
     * @return 现金流类型集合
     */
    public List<HlsCashflowType> selectHlsCashflowTypeList(HlsCashflowType hlsCashflowType);

    /**
     * 新增现金流类型
     * 
     * @param hlsCashflowType 现金流类型
     * @return 结果
     */
    public int insertHlsCashflowType(HlsCashflowType hlsCashflowType);

    /**
     * 修改现金流类型
     * 
     * @param hlsCashflowType 现金流类型
     * @return 结果
     */
    public int updateHlsCashflowType(HlsCashflowType hlsCashflowType);

    /**
     * 删除现金流类型
     * 
     * @param cfType 现金流类型主键
     * @return 结果
     */
    public int deleteHlsCashflowTypeByCfType(String cfType);

    /**
     * 批量删除现金流类型
     * 
     * @param cfTypes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHlsCashflowTypeByCfTypes(String[] cfTypes);
}
